package com.lxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName(value = "spu_extension")
@Data
@ApiModel("spu")
public class SpuExtension {
    /** 商品扩展信息表id */

    @TableId(value = "spu_extend_id",type = IdType.AUTO)
    @ApiModelProperty(name = "商品扩展信息表id",notes = "")
    private Integer spuExtendId ;

/*    *//** 创建时间 *//*
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createTime ;
    *//** 更新时间 *//*
    @ApiModelProperty(name = "更新时间",notes = "")
    private Date updateTime ;*/

    /** 商品id */
    @ApiModelProperty(name = "商品id",notes = "")
    private Integer  spuId ;
    /** 销量 */
    @ApiModelProperty(name = "销量",notes = "")
    private Integer  saleNum ;
    /** 实际库存 */
    @ApiModelProperty(name = "实际库存",notes = "")
    private Integer  actualStock ;
    /** 锁定库存 */
    @ApiModelProperty(name = "锁定库存",notes = "")
    private Integer  lockStock ;
    /** 可售卖库存 */
    @ApiModelProperty(name = "可售卖库存",notes = "")
    private Integer  stock ;
}
